//
//  SearchCell.m
//  MyTrip
//
//  Created by zhang on 15/9/8.
//  Copyright (c) 2015年 张益. All rights reserved.
//

#import "SearchCell.h"

@implementation SearchCell


- (instancetype) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.nameLabel = [[[UILabel alloc] initWithFrame:CGRectMake(30 * OffWidth, 0, self.contentView.frame.size.width, self.contentView.frame.size.height)] autorelease];
        [self.contentView addSubview:_nameLabel];
        
    }
    return self;
}


- (void)setValueWithDic:(NSDictionary *)dic{
    [_nameLabel setText:[dic objectForKey:@"name"]];
}




@end
